local Count = 1
local function _Top() Top = -15*Count Count = Count + 1 return Top end

-- Talents
ccR.Default("Use_Ice_Floes", true)
ccR.Default("Use_Ice_Barrier", true)
ccR.Default("Use_Ring_of_Frost", true)
ccR.Default("Ring_of_Frost_Count", 3)
ccR.Default("Use_Ice_Ward", true)
ccR.Default("Use_Ice_Ward_On_Tank", true)
ccR.Default("Use_Frostjaw", true)
local frame = "CC_Mage_Frost_Talents"
ccR.GUI.Create.Frame(frame)
ccR.GUI.Create.Checkbox("ckIce_Floes", "Ice Floes", 0, -0, nil, nil, frame, "Use_Ice_Floes")
ccR.GUI.Create.Checkbox("ckIce_Barrier", "Ice Barrier", 0, _Top(), nil, nil, frame, "Use_Ice_Barrier")

ccR.GUI.Create.CheckEditSave("Ring_of_Frost", "Ring of Frost", 0, _Top(), nil, nil, frame, "Use_Ring_of_Frost", "Ring_of_Frost_Count")
ccR.GUI.Create.Checkbox("ckIce_Ward", "Ice Ward", 0, _Top(), nil, nil, frame, "Use_Ice_Ward", {"ckIce_Ward_Tank"})
	ccR.GUI.Create.Checkbox("ckIce_Ward_Tank", "In Dungeons, Apply to tank.", 15, _Top(), nil, nil, frame, "Use_Ice_Ward_On_Tank")
ccR.GUI.Create.Checkbox("ckFrostjaw", "Frostjaw", 0, _Top(), nil, nil, frame, "Use_Frostjaw")

-- Abilities
ccR.Default("Use_Cone_of_Cold", true)
ccR.Default("Use_Cone_of_Cold_Only_Solo", true)
local frame = "CC_Mage_Frost_Abilities"
ccR.GUI.Create.Frame(frame)
ccR.GUI.Create.Checkbox("ckCone_of_Cold", "Cone of Cold", 0, -0, nil, nil, frame, "Use_Cone_of_Cold", {"ckCone_of_Cold_Solo"})
	ccR.GUI.Create.Checkbox("ckCone_of_Cold_Solo", "Only when Solo", 15, -15, nil, nil, frame, "Use_Cone_of_Cold_Only_Solo")
